<?php if (!defined('BASEPATH')) {
	exit('No direct script access allowed');
}

class Map_functions extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
		$this->load->model('map_functions_model');
	}

	public function get_locations(){
		echo json_encode($this->map_functions_model->get_locations($this->input->post('areas')));
	}




}
